/**
 *
 * User数据层
 * @author : [kai]
 * @version : [v1.0]
 * @createTime : [2022/10/20 13:26]
 */


package com.find.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value="user")
public class User {
    @TableId(value = "user_id")
    private Integer id;
    @TableField(value = "user_name")
    private String name;
    @TableField(value = "user_password")
    private String password;
    @TableField(value = "user_sex")
    private Integer sex;
    @TableField(value = "user_tel")
    private String tel;
    @TableField(value = "user_comment")
    private Integer comment;
    @TableField(value = "user_login")
    private Integer login;
    public User(String name,String password){
        this.name=name;
        this.password=password;
    }
}
